// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
import request from '@/plugins/request';

/**
 * 库存列表
 */
export function stockList(data) {
    return request({
        url: `/stock/list`,
        method: 'get',
        params: data
    });
};

/**
 * 导出库存列表
 */
export function exportStockList(data) {
    return request({
        url: `/stock/exportStoreStockList`,
        method: 'get',
        params: data
    });
};

/**
 * 库存历史列表
 */
export function stockHistoryList(data) {
    return request({
        url: `/stock/historyList`,
        method: 'get',
        params: data
    });
};

/**
 * 导出库存历史列表
 */
export function exportStockHistoryList(data) {
    return request({
        url: `/stock/exportStoreStockHistoryList`,
        method: 'get',
        params: data
    });
}

export function helpCenterList(data) {
    return request({
        url: `/help_center/admin_center_list`,
        method: 'get',
        params: data
    });
};